/*
 * GenericDAO.java
 *
 * Created on 21 de Março de 2007, 12:29
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package br.ufal.ic.fracao.dao;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author guilherme
 */
public interface GenericDAO<T, PK extends Serializable> {
    
    public Class<T> getObjectClass();
    
    public void save(T object);
    
    public T get(PK primaryKey);
    
    public List<T> listAll();
    
    public void update(T object);
    
    public void delete(T object);
}
